# with open('09_demo\\pi_digits.txt') as file_object:
#    contents = file_object.read()
#    print(contents.rstrip())

file_path = 'F:\PycharmProjects\python_api\\09_demo\\pi_digits.txt'
with open(file_path) as file_object:
    contents = file_object.read()
    print(contents.rstrip())